// Datapump holding invisible widget
// Copyright 2006 (C) Ralph Thomas

#ifndef MISSION_VIEW_PUMP_HOLDER_H
#define MISSION_VIEW_PUMP_HOLDER_H

#include <factory.hpp>

namespace view {
	//
	/// The pump holder is an invisible view that holds datapumps. It
	/// can be used in combination with the "sheet_value" datapump to
	/// bounce values from datapumps into the current sheet, and vice
	/// versa.
	///
	/// \param	params		a dictionary containing an array
	///				of datapumps, called pumps.
	/// \param	parent		the parnt widget node.
	/// \param	token		the factory token for creating with.
	/// \return	the parent widget node.
	//
	adobe::widget_node_t pump_holder_factory(
		const adobe::dictionary_t&	parameters,
		const adobe::widget_node_t&	parent,
		const adobe::factory_token_t&	token );
};

#endif

